package com.wteam.PoJo.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("用户提交订单")
@Schema
public class buyorder implements Serializable {
    @ApiModelProperty(value = "用户id")
    private Integer memberId;

    @ApiModelProperty(value = "用户姓名")
    private String memberName;

    @ApiModelProperty(value = "收货地址id")
    private Integer consignee_address_id_path;
//
    @ApiModelProperty(value = "收货电话")
    private String consigneeMobile;


    @ApiModelProperty(value = "收货省份")
    private String province;

    @ApiModelProperty(value = "收货城市")
    private String urban;

    @ApiModelProperty(value = "详细地址")
    private String fulladdress;

    @ApiModelProperty(value = "收货人姓名")
    private String consigneeName;

    @ApiModelProperty(value = "用户选择积分")
    private Integer point;

    @ApiModelProperty(value = "用户选择优惠卷")
    private Integer couponId;

    @ApiModelProperty(value = "原总价格")
    private Double flowPrice;

    @ApiModelProperty(value = "优惠金额")
    private Double discountPrice;



    @ApiModelProperty(value = "优惠后的金额")
    private Double discountFlowPrice;

    @ApiModelProperty(value = "商品信息")
    private List<OrderGoodVo> carts;
}
